#include <iostream>
#include "namespaces.h"

namespace mycode {
    void foo() {
        std::cout << "foo() called in the mycode namespace" << std::endl;
    }
}


int main(int argc, char const *argv[])
{
    /* code */
    mycode::foo();      // :: 作用域解析运算符
    return 0;
}
